<%--
  @author Duminda Dharmakeerthi

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:if test="land.approvalState.ordinal() == 2">
    <table class="width-100">
        <tr>
            <td><s:label value="%{getText('comments.label')}"/></td>
            <td colspan="3"><s:textarea name="land.comment" cssClass="width-610-px"/></td>
        </tr>
    </table>
    <div class="form-button-div right-align">
        <s:submit value="%{getText('reject.label')}" action="rejectLandInformation"/>
        <s:submit value="%{getText('approve.label')}" action="approveLandInformation"/>
        <s:submit cssClass="cancel" action="landRegistrationModule" value="%{getText('cancel.label')}"/>
    </div>
</s:if>
<s:else>
    <s:if test="land.comment.length() > 0">
        <table class="width-100">
            <tr>
                <td><s:label value="%{getText('comments.label')}"/></td>
                <td colspan="3"><s:textarea name="land.comment" cssClass="width-610-px" disabled="true"/></td>
            </tr>
        </table>
    </s:if>
    <div class="form-button-div right-align">
        <s:hidden name="updateMode"/>
        <s:hidden name="updateDetailForm"/>
        <s:submit value="%{getText('save.label')}" action="saveDetailLandInformation"/>
        <s:submit value="%{getText('send_for_approval.label')}" action="sendForApproval"/>
        <s:submit cssClass="cancel" action="landRegistrationModule" value="%{getText('cancel.label')}"/>
    </div>
</s:else>
--%>